package com.globalwave.common
{
	
	public class Checkbox extends spark.components.CheckBox
	{
		public var selectedValue:String = "Y" ;
		public var unSelectedValue:String = "N" ;
		
		public function Checkbox()
		{
			super();
		}
		
		public function set value(value:String):void {
			this.selected = (selectedValue == value) ;
		}
		
		public function get value():String {
			return this.selected?selectedValue:unSelectedValue;
		}
	}
}